/**
 * 
 */
package org.rollinitiative.d20.items;

/**
 * @author bebopjmm
 *
 */
public class Item
{

    public enum Craftsmanship 
    {
        MUNDANE, MASTERWORK, MAGICAL;
    }
    
    private String name = "Unnamed Item";
    
    private double gpCost  = 0;
    
    private double weight = 0;
    
    private Craftsmanship craftsmanship = Craftsmanship.MUNDANE;

    
    /**
     * @return the name
     */
    public String getName()
    {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name)
    {
        this.name = name;
    }

    /**
     * @return the cost of purchasing this item in gold pieces.
     */
    public double getCost()
    {
        return gpCost;
    }

    /**
     * @param gpCost the cost of purchasing this item in gold pieces
     */
    public void setCost(double gpCost)
    {
        this.gpCost = gpCost;
    }

    /**
     * @return the weight of this item
     */
    public double getWeight()
    {
        return weight;
    }

    /**
     * @param weight the weight to set for this item
     */
    public void setWeight(double weight)
    {
        this.weight = weight;
    }

    /**
     * @return the craftsmanship
     */
    public Craftsmanship getCraftsmanship()
    {
        return craftsmanship;
    }

    /**
     * @param craftsmanship the craftsmanship to set
     */
    public void setCraftsmanship(Craftsmanship craftsmanship)
    {
        this.craftsmanship = craftsmanship;
    }
    
}
